/**
 * 提供网络请求方法 
 */

import axios from "../utils/request"
import base from "./base"

const api = {
    getBanner(){
        return axios.get(base.baseUrl + base.banner)
    },
    getLogin(params){  // params = {}
        return axios.post(base.baseUrl + base.login,params)
    }
}

export default api;